package com.woniu108.gateway.exception;


import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class WoniuException extends RuntimeException{


    private static final long serialVersionUID = -1L;
    private Integer code;

    public WoniuException(String msg, Integer code){
        super(msg);
        this.code=code;
    }
}
